package cn.qayy.dao;

import java.util.List;
import java.util.Map;

import cn.qayy.dto.BidDTO;
import cn.qayy.po.Basis;
import cn.qayy.po.Bid;
import cn.qayy.po.Policy;
import cn.qayy.service.Uploadable;


public interface BidMapper {
	int deleteByPrimaryKey(Integer id);

    int insert(Object record);

    int insertSelective(Object record);

    Bid selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Object record);

    int updateByPrimaryKey(Object record);

    List<BidDTO> selectBidForDown(Map<String, Object> params) ;

    int updateByList(List<?> list);

    int insertByList(List<?> list);

    List<Map<String, Object>> selectBidBy(Map<String, Object> params) ;

	List<? extends String> selectPzKeys();

	Bid getBid(Map<String,Object> params);
	
	List<Bid> selectByIds(List<String> list);

	int deleteByList(List list);

	int delete(Object bean);

	List<Bid> selectByMap(Map<String, Object> params);

	List<Integer> selectIdsByMap(Map<String, Object> params);
}